// ===============================================================================
// scan: sequential scan of a large descriptor collection
// Created in September 2007 as a project for an Advanced Database Systems course
// (c) Reykjavik University, Björn Þór Jónsson, Kristleifur Daðason, Herwig Lejsek
// Contact author: Björn Þór Jónsson, Reykjavík University, bjorn@ru.is
// ===============================================================================

#ifndef CONFIGMAPPER
#define CONFIGMAPPER

#include <string>
#include <iostream>

#include <sys/stat.h>
#include <stdio.h>

#include <sys/types.h>
//#include <sys/mman.h>
#include <stdlib.h>
#include <string.h>

#include <errno.h>

using namespace std;

class ConfigMapper
{
private:
	string indxPath;
	string dataPath;
	int numDims;
	int pageSize;
	int numImages;

public:
	ConfigMapper(string filename);
	~ConfigMapper();

	int getNumDims()     { return numDims;   };
 	string getIndxPath() { return indxPath;  };
	string getDataPath() { return dataPath;  };
	int getPageSize()    { return pageSize;  };
	int getNumImages()   { return numImages; };
};

#endif

